Hi.
I am having problems installing Zabbix 1.8.3 on Solaris 10.
I configured with:
And got these warnings:
configure: WARNING: kvm.h: present but cannot be compiled
configure: WARNING: kvm.h: check for missing prerequisite headers?
configure: WARNING: kvm.h: see the Autoconf documentation
configure: WARNING: kvm.h: section "Present But Cannot Be Compiled"
configure: WARNING: kvm.h: proceeding with the preprocessor's result
configure: WARNING: kvm.h: in the future, the compiler will take precedence
But no errors.Now i when i try to make it i get the following error:
gmake
Making all in src
gmake[1]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src'
Making all in libs
gmake[2]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs'
Making all in zbxcrypto
gmake[3]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs/zbxcrypto'
gcc -DHAVE_CONFIG_H -I. -I../../../include -I/usr/include/ -g -O2 -I/opt/oracle/product/10.2.0//rdbms/public -I/opt/oracle/product/10.2.0//rdbms/demo -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I. -I/usr/local/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
In file included from /usr/include/kvm.h:14,
from ../../../include/sysinc.h:305,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
/usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid"
/usr/include/sys/proc.h:337: error: syntax error before '}' token
In file included from ../../../include/sysinc.h:305,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/kvm.h:44: error: syntax error before '*' token
/usr/include/kvm.h:45: error: syntax error before '*' token
/usr/include/kvm.h:48: error: syntax error before "proc_t"
gmake[3]: *** [md5.o] Error 1
gmake[3]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs/zbxcrypto'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src'
gmake: *** [all-recursive] Error 1
I get similair error with make. Would really apreciate some help with this one.
(Might be useful to know that it is a Solaris Zone)
I am having problems installing Zabbix 1.8.3 on Solaris 10.
I configured with:
Code:
LDFLAGS="-L/opt/oracle/product/10.2.0/lib32 -L/usr/local/lib/ -R/opt/oracle/product/10.2.0/lib32 -R/usr/local/lib/" CPPFLAGS="-I/usr/include/" ./configure --with-net-snmp=/usr/local/bin/net-snmp-config --with-libcurl=/usr/local/bin/curl-config --with-oracle --enable-server --prefix=/opt/zabbix
configure: WARNING: kvm.h: present but cannot be compiled
configure: WARNING: kvm.h: check for missing prerequisite headers?
configure: WARNING: kvm.h: see the Autoconf documentation
configure: WARNING: kvm.h: section "Present But Cannot Be Compiled"
configure: WARNING: kvm.h: proceeding with the preprocessor's result
configure: WARNING: kvm.h: in the future, the compiler will take precedence
But no errors.Now i when i try to make it i get the following error:
gmake
Making all in src
gmake[1]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src'
Making all in libs
gmake[2]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs'
Making all in zbxcrypto
gmake[3]: Entering directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs/zbxcrypto'
gcc -DHAVE_CONFIG_H -I. -I../../../include -I/usr/include/ -g -O2 -I/opt/oracle/product/10.2.0//rdbms/public -I/opt/oracle/product/10.2.0//rdbms/demo -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I. -I/usr/local/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
In file included from /usr/include/kvm.h:14,
from ../../../include/sysinc.h:305,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
/usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid"
/usr/include/sys/proc.h:337: error: syntax error before '}' token
In file included from ../../../include/sysinc.h:305,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/kvm.h:44: error: syntax error before '*' token
/usr/include/kvm.h:45: error: syntax error before '*' token
/usr/include/kvm.h:48: error: syntax error before "proc_t"
gmake[3]: *** [md5.o] Error 1
gmake[3]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs/zbxcrypto'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/appadm/kpi/zabbix-1.8.3/src'
gmake: *** [all-recursive] Error 1
I get similair error with make. Would really apreciate some help with this one.
(Might be useful to know that it is a Solaris Zone)
Comment